﻿using SqlSugar;

namespace DataModels.Entities.Community
{
    ///服务评价结果表 ，用于记录用户填写的每一项结果明细。
    ///</summary>
    [SugarTable("serviceevaluationresult")]
    public partial class ServiceEvaluationResult
    {
        public ServiceEvaluationResult()
        {
        }
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true)]
        public string UUID { get; set; } 

        /// <summary>
        /// Desc:评价主表的外键
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string ServiceEvaluationUUID { get; set; }

        /// <summary>
        /// Desc:创建人ID
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string CreateUser { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:CURRENT_TIMESTAMP
        /// Nullable:False
        /// </summary>           
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// Desc:题目类型
        /// 1 SingleChoice 单选题， 
        /// 2 MultipleChoice 多选题， 
        /// 3 FillBlank 填空题， 
        /// 4 MultipleFillBlank 多项填空， 
        /// 5 Multiline 多行文本， 
        /// 6 Rating 评分题 
        /// 7 CandidateVoting 候选人投票 
        /// 8 OptionVoting 选项投票
        /// Nullable:True
        /// </summary>           
        public int Type { get; set; }

        /// <summary>
        /// Desc:题目类型
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string TypeName { get; set; }

        /// <summary>
        /// Desc:题目控件类型描述
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string TypeDesc { get; set; }

        /// <summary>
        /// Desc:问题
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Title { get; set; }

        /// <summary>
        /// Desc:答案的文本
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string ResultText { get; set; }

        /// <summary>
        /// Desc:答案的值
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string ResultValue { get; set; }

        /// <summary>
        /// Desc:序号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int No { get; set; }
    }
}
